﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ue.CQRS.Configuration
{
    public class DefaultConfiguration : IConfiguration
    {
        private Settings settings;

        public DefaultConfiguration(Settings settings)
        {
            this.settings = settings;
        }

        public bool EnabledEventStore
        {
            get { return this.settings.EventStore.Enabled; }
        }
    }
}
